<?php
class VmConfig extends BaseModuleConfig
{
    public $FIELDTYPE_TEXTBOX       = 1;
    public $FIELDTYPE_SELECT        = 2;
    public $FIELDTYPE_CHECKBOX      = 3;
    public $FIELDTYPE_DATEPICKER    = 4;
    public $FIELDTYPE_IMAGE         = 5;
    public $FIELDTYPE_TEXTAREA      = 6;
    public $FIELDTYPE_TREE          = 7;
    public $FIELDTYPE_TREE_SELECT   = 8;
    public $FIELDTYPE_GRID_SELECT   = 9;
    public $FIELDTYPE_CURRENCY      = 10;
    public $FIELDTYPE_HTML          = 11;
    public $FIELDTYPE_PASSWORD      = 12;
    public $FIELDTYPE_HTMLEDITOR    = 13;

    public $VIEWTYPE_DEFAULT= 1;
    public $VIEWTYPE_TREE   = 2;
    public $VIEWTYPE_FORM   = 3;

    protected static $instance;

    public static function GetInstance()
    {
        return self::$instance ? self::$instance : self::$instance = new VmConfig();
    }
}
?>
